package com.wangbo.mp.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangbo.mp.biz.entity.MyTable;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.Set;

public interface MyTableMapper extends BaseMapper<MyTable> {

    @Select("select name from test.PERSON")
    Set<String> getNameSet();

    @Select("select * from my_date where id= #{id}")
    MyTable getEntity(@Param(value = "id") String id);
}
